<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./src/animate.min.css">
    <link rel="stylesheet" href="./src/hover.css">
    <!-- 日夜交替src -->
    <link href="https: //cdn.bootcdn.net/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" href="./03.style.css">
    <script src="./03.日夜交替.js"></script>
    <style>
        .box1 {
            width: 300px;
            height: 200px;
            background-color: pink;
            opacity: 0;
            animation: box1 1s forwards;
        }
        @keyframes box1 {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }
        .box2{
            width: 300px;
            height: 200px;
            background-color: skyblue;
        }
    </style>
</head>

<body>
    <div class="box1"><img src="https://www.keaitupian.cn/cjpic/frombd/0/253/3340183773/1522605432.jpg" alt=""></div>
    <div class="box2 animate__animated animate__bounce" >
        <img src="" alt="">
    </div>
    <div class="box2 animate__animated animate__backInRight" >
        <img src="" alt="">
    </div>
    <script src="./src/message.js"></script>
    <div class="btn-box">
        <div onclick="change('light')">
          <i class="fa fa-sun-o" aria-hidden="true"></i>日间
        </div>
        <div onclick="change('dark')">
          <i class="fa fa-moon-o" aria-hidden="true"></i>日夜
        </div>
      </div>
      <div class="dark" id="container">
        <div class="bg"></div>
        <div class="moon-box">
          <div class="moon"></div>
        </div>
        <div class="sun-box">
          <div class="sun"></div>
        </div>
        <div class="sea"></div>
      </div>
</body>

</html>